package com.sgam.mf.service.sys;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sgam.mf.dao.sys.SysMainMenuDAO;
import com.sgam.mf.domain.sys.SysMainMenu;
import com.sgam.mf.service.GenericServiceImpl;

@Service
public class SysMainMenuServiceImpl extends GenericServiceImpl<SysMainMenu, SysMainMenuDAO>
		implements SysMainMenuService {

	@Autowired
	public SysMainMenuServiceImpl(SysMainMenuDAO tDao) {
		super(tDao);
	}
	
	@Transactional
	public List<SysMainMenu> listTree(){
		return gettDao().listTree();
	}

}
